package com.hfb.mashibing.alip8.designpattern._03_04factory;

/**
 * 抽象工厂
 */
public abstract class T02_AbstractFactory {

    abstract Food createFood();
    abstract Plane CreatePlane();
    abstract Broom CreateBroom();
}

abstract class Food {
    public void printName(){}
}
abstract class Weapon {
    public void shoot(){}
}
abstract class Vehicle {
    public void go(){}
}


